package com.diors.game.engine.arpg.fight.attr;

/**
 * 战斗属性枚举
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013-10-29
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
public enum AttrEnum 
{
	
	HPMAX	("最大血量"),
	MPMAX	("最大蓝量"),
	ATNMIN	("最小物理攻击"),
	ATNMAX	("最大物理攻击"),
	INTMIN	("最小魔法攻击"),
	INTMAX	("最大魔法攻击"),
	DEF		("物理防御"),
	ADF		("魔法防御"),
	LUCK	("幸运值"),
	HIT		("命中率", 1000000f),
	EVA		("闪避率", 1000000f),
	CRI		("暴击率", 1000000f),
	SPD		("攻击速度", 1000000f),
	MV		("移动速度", 1000000f),
	ATNPC	("物理攻击百分比", 1000000f),
	INTPC	("魔法攻击百分比", 1000000f),
	DEFPC	("物理防御百分比", 1000000f),
	ADFPC	("法术防御百分比", 1000000f),
	HPPC	("血量百分比", 1000000f),
	MPPC	("蓝量百分比", 1000000f),
	;
	
	String info;
	float ratio;
	
	AttrEnum (String info)
	{
		this.info 	= info;
		this.ratio 	= 1;
	}

	AttrEnum (String info, float ratio)
	{
		this.info 	= info;
		this.ratio 	= ratio;
	}

	public String getInfo() {
		return info;
	}

	public float getRatio() {
		return ratio;
	}
}
